
import javax.swing.JOptionPane;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author KWrobel
 */
public class MojaPieknaKlasa {
    private String tekst;
    private double liczba;

    public MojaPieknaKlasa() {
    }
    
    public MojaPieknaKlasa(String jakisTekst, double jakasLiczba){
        this.tekst = jakisTekst;
        this.liczba = jakasLiczba;
    }
    public static void main(String[] args){
    MojaPieknaKlasa a = new MojaPieknaKlasa(JOptionPane.showInputDialog(args), 10);
  }
}
